package com.lxt.cloud.testsleuth.controller;

import com.lxt.cloud.feign.TestSleuthFeigh;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class TestsleuthController {
    @Resource
    TestSleuthFeigh testSleuthFeigh;

    @GetMapping("/feigh/testSleuth")
    public String testSleuth(){
        System.out.println("服务调用方！");
        return testSleuthFeigh.testsleuth();
    }
}
